package com.whcoding.test.dao;

import com.whcoding.test.pojo.OrmCustomerPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-05-18 17:57
 **/
@Repository
public interface OrmCustomerDao extends JpaRepository<OrmCustomerPO, Integer> {

	/**
	 * 根据ID 查询数据
	 * @param id
	 * @return
	 */
	OrmCustomerPO findOrmCustomerPOById(Integer id);
}